//
//  RegionDic.m
//  restaurant
//
//  Created by dongpoyezi on 5/5/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import "RegionDic.h"


@implementation RegionDic

static NSMutableDictionary *regionDic = nil;

+(NSMutableDictionary*)getRegionDic{
	
	if (regionDic == nil) {
		regionDic =[[NSMutableDictionary alloc]init];
		NSArray *wuhouArray =[[NSArray alloc]initWithObjects:@"双楠",@"玉林",@"科华北路",@"桐梓林",@"高升桥",nil];
		 
		
		[regionDic setObject:wuhouArray forKey:@"武侯区"];
		[wuhouArray release];
		
		NSArray *jinjiangArray =[[NSArray alloc]initWithObjects:@"合江亭",@"盐市口",@"春熙路",@"书院街",@"牛市口",@"东光小区",@"四川师大",nil];
		[regionDic setObject:jinjiangArray forKey:@"锦江区"];
		[jinjiangArray release];
		
		NSArray *jinniuArray =[[NSArray alloc]initWithObjects:@"沙湾",@"茶店子",@"西南交大",@"火车站",@"梁家巷",@"抚琴",nil];
		[regionDic setObject:jinniuArray forKey:@"金牛区"];
		[jinniuArray release];
		
		NSArray *qinyangArray =[[NSArray alloc]initWithObjects:@"杜甫草堂",@"青羊宫",@"府南新区",@"人民公园 ",@"骡马市",@"草市街",nil];
		[regionDic setObject:qinyangArray forKey:@"青羊区"];
		[qinyangArray release];
		
		NSArray *chenhuaArray =[[NSArray alloc]initWithObjects:@"双林路",@"建设路",nil];
		[regionDic setObject:chenhuaArray forKey:@"成华区"];
		[chenhuaArray release];
	}

	return regionDic;
}
@end